<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="model.pojo.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<table width="1000" align="center" border="0" cellspacing="0" cellpadding="0">
    <c:choose>


        <c:when test="${sessionScope.KhachHang != null}">
            <c:set var="kh" value="${sessionScope.KhachHang}"/>


            <tr>
                <td colspan="3" class="maunen" align="right">

                    <div>
                        <a class="cart" href="QuanLyDonHang.do?Action=Nap" rel="nofollow">Quản lý đơn hàng</a> 
                        <span style="color: #FFF">&nbsp;</span>
                        <a class="dangnhap" href="#" rel="nofollow">${kh.getHoTenKhachHang()}
                        </a> <span style="color: #FFF">&nbsp;</span> 
                        <a class="thoat" href="TrangChu.do" rel="nofollow" >Thoát  </a></div>   
                </td>

            </tr>
        </c:when>
        <c:otherwise>
            <tr>
                <td colspan="3" class="maunen" align="right">
                    <div>
                        <a class="dangnhap" href="DangNhap.do?Action=Nap" rel="nofollow">Đăng nhập</a> <span style="color: #FFF">
                            |</span> <a class="dangky" href="DangKy.do?Action=Nap" rel="nofollow">Đăng ký</a></div>
                </td>
            </tr>
        </c:otherwise>
    </c:choose>
    <tr>
        <td colspan="3">

            <img src="images/electronicsbanner.jpg" width="1000" height="150"  />
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <table width="100%" border="0" cellspacing="2" cellpadding="0">
                <tr>
                    <td width="20%">
                        &nbsp;
                    </td>
                    <td class="menu" width="11%">
                        <a class="textmenu" href="TrangChu.do">TRANG CHỦ</a>
                    </td>
                    <td class="menu" width="11%">
                        <a class="textmenu" href="index.do?Action=GioiThieu">GIỚI THIỆU</a>
                    </td>
                    <td class="menu" width="11%">
                        <a class="textmenu" href="SanPhamAll.do">SẢN PHẨM</a>
                    </td>
                    <td class="menu" width="10%">
                        <a class="textmenu" href="index.do?Action=TinTuc">TIN TỨC</a>
                    </td>
                    <td class="menu" width="13%">
                        <a class="textmenu" href="index.do?Action=KhuyenMai">KHUYẾN MÃI</a>
                    </td>
                    <td class="menu" width="10%">
                        <a class="textmenu" href="index.do?Action=LienHe">LIÊN HỆ</a>
                    </td>
                    <td width="14%">
                        &nbsp;
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td width="15%" height="50">
            &nbsp;
        </td>
        <td colspan="2">
            <form class="timkiem-left" name="formTimKiem" method="post" action="TimKiemNhanh.do">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="50%" colspan="2">
                            <label for="txtTimKiem">
                            </label>
                            <c:choose>
                                <c:when test="${param.tukhoa == null}">
                                    <input name="tukhoa" class="txbtimkiem" type="text" id="txtTimKiemNhanh" value="" />
                                </c:when>
                                <c:otherwise>
                                    <input name="tukhoa" class="txbtimkiem" type="text" id="txtTimKiemNhanh" value="${param.tukhoa}" />
                                </c:otherwise>
                            </c:choose> 

                            <input class="timkiem" name="btTimKiemNhanh" type="submit"  value=""/>
                            <a href="index.jsp?MainContent=TimKiemNangCao" class="timkiemnangcao"></a>

                        </td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>
</table>



